/*
# _____     ___ ____     ___ ____
#  ____|   |    ____|   |        | |____|
# |     ___|   |____ ___|    ____| |    \    PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
*/

#include "libsnd2_internal.h"

void *SsSetTickCallback(void (*cb)(void))
{
	void *result;

	result = _snd_seq_tick_env.m_tick_callback;
	if ( cb != _snd_seq_tick_env.m_tick_callback )
		_snd_seq_tick_env.m_tick_callback = cb;
	return result;
}
